
package com.carsite.service;

import java.util.List;

import com.carsite.service.Manager;
import com.carsite.model.Order;
import com.carsite.dao.OrderDao;

public interface OrderManager extends Manager {
    /**
     * Retrieves all of the orders
     */
    public List getOrders(Order order);

    /**
     * Gets order's information based on orderId.
     * @param orderId the order's orderId
     * @return order populated order object
     */
    public Order getOrder(final String orderId);

    /**
     * Saves a order's information
     * @param order the object to be saved
     */
    public void saveOrder(Order order);

    /**
     * Removes a order from the database by orderId
     * @param orderId the order's orderId
     */
    public void removeOrder(final String orderId);
    
  
}

